libxl: change some structures to unit arrays
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 11 May 2012 17:59:02 +0000 (18:59 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 11 May 2012 17:59:02 +0000 (18:59 +0100)
commit3cad24a9a917dc2f21b4d22e85bfbe119430eed5
treef283249075e1ce500262a7028ffbeb0ed96b50a4
parent97adb792789d187bbc48a3c1046ce02bcca3768d
libxl: change some structures to unit arrays

In the next patch these variables will turn into actual pointers.

To clarify that patch, prepare the ground by changing these variables
from "struct foo var" to "struct foo var[1]".  This enables accesses
to them and their members to be made as if they were pointers.

No functional change.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c